#pragma once
#include <string>

class CGame_Object
{
private:
	int m_x, m_y;
	int m_old_x, m_old_y;
	char *m_Shape;

protected:
	int m_LR;
	int m_TB;

public:
	CGame_Object(void);
	virtual ~CGame_Object(void);

	virtual void Get_Pos(int &x, int &y)
	{
		x = m_x;
		y = m_y;
	}
	virtual void Get_Old_Pos(int &x, int &y)
	{
		x = m_old_x;
		y = m_old_y;
	}

	virtual void Set_Shape(char c[])
	{
		m_Shape = new char[sizeof(c)];
		strcpy(m_Shape,c);
	}
	virtual void Set_Pos(int x, int y)
	{
		m_x = x;
		m_y = y;
	}
	virtual void Set_Old_Pos(int x, int y)
	{
		m_old_x = x;
		m_old_y = y;
	}
	bool frameMove();
	void render();
};
